﻿using System;
using Model.Base;
namespace Model.AuthModel
{
    /// <summary>
    /// 通用组件，权限模型，模型层，模块
    /// </summary>
    public class ModuleInfo
    {
        /// <summary>
        /// 模块ID
        /// </summary>
        public int ModuleID { get; set; }

        /// <summary>
        /// 分类对象
        /// </summary>
        public ModuleTypeInfo ModuleType { get; set; }

        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName { get; set; }

        /// <summary>
        /// 模块连接地址
        /// </summary>
        public string ModuleLink { get; set; }

        /// <summary>
        /// 是否作为模块按钮显示
        /// </summary>
        public string ModuleMenu { get; set; }
    }

    /// <summary>
    /// 通用组件，权限模型，模型层，模块搜索条件
    /// </summary>
    public class ModuleCondition : BaseCondition 
    {
        /// <summary>
        /// 模块类别编号
        /// </summary>
        public int ModuleTypeID { get; set; }
    }
}
